package com.bootdo.repertory.service.impl;

import com.bootdo.repertory.dao.SinquiryDao;
import com.bootdo.repertory.domain.SinquiryDO;
import com.bootdo.repertory.service.SinquiryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class SinquiryServiceImpl implements SinquiryService {
	@Autowired
	private SinquiryDao sinquiryDao;
	
	@Override
	public SinquiryDO get(Integer id){
		return sinquiryDao.get(id);
	}
	
	@Override
	public List<SinquiryDO> list(Map<String, Object> map){
		return sinquiryDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return sinquiryDao.count(map);
	}
	
	@Override
	public int save(SinquiryDO sinquiry){
		return sinquiryDao.save(sinquiry);
	}
	
	@Override
	public int update(SinquiryDO sinquiry){
		return sinquiryDao.update(sinquiry);
	}
	
	@Override
	public int remove(Integer id){
		return sinquiryDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return sinquiryDao.batchRemove(ids);
	}
	
}
